<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>困难人员跟踪服务记录</title>
<script type="text/javascript" src="resources/js/jobless/difficultyServer/difficultyTrackingRecord.js"></script>
<link rel="stylesheet" type="text/css" href="resources/css/labor/laborInfoManage.css" />
</head>
<body>
	<div id="pageContent">
		<div class="easyui-layout" data-options="fit: true">
			<div class="easyui-panel" title="跟踪服务记录" data-options="region:'center', border:false">
				<div id="trackingRecord_toolbar" class="app-query-panel">
					<table>
						<tr>
						  <td>
							 <a href="#" id="addTrackingRecordButton" class="easyui-linkbutton app-toolbar-button"  data-options="plain:true" onclick="addTrackingRecord()"><i  class="fa fa-plus"></i>添加</a>
							 <a href="#" id="updateTrackingRecordButton" class="easyui-linkbutton app-toolbar-button"  data-options="plain:true" onclick="getTrackingRecord()"><i  class="fa fa-pencil-square-o"></i>修改</a>
							 <a href="#" id="delTrackingRecordButton" class="easyui-linkbutton app-toolbar-button"  data-options="plain:true" onclick="delTrackingRecord()"><i  class="fa fa-trash"></i>删除</a>
 						  </td>
						</tr>
					</table>
				</div>
				<table id="trackingRecordGrid" data-options="fit:true, border:false, toolbar:'#trackingRecord_toolbar'"></table>
				<input type="hidden" id="unemployedId" name="unemployedId"/>
			</div>
		</div>
		<div id="addTrackingRecord" class="easyui-window" title="困难人员跟踪服务记录添加" data-options="collapsible:false,minimizable:false,maximizable:false,resizable:false,closed:true" style="width:460px;height:380px;padding:10px;">
			<div class="pageContent-list">
				<form id="addtrackingRecordForm" method="post">
				    <!-- <input type="hidden" id="unemployedId" name="unemployedId"/> -->
					<div>
					    <label>走访时间：</label>
					    <input id="trackingRecordAdd_interviewdate" name="interviewdate" class="easyui-datebox" data-options="required:true, missingMessage:'走访时间必填'" />
					</div>
					<div>
						<label>走访主题：</label>
						<input id="trackingRecordAdd_theme" name="theme" class="easyui-textbox" />
					</div>
					<div>
						<label>走访地点：</label>
						<input id="trackingRecordAdd_location" name="location" class="easyui-textbox" />
					</div>
					<div>
						<label>人数：</label>
						<input id="trackingRecordAdd_num" name="num" class="easyui-textbox" />
					</div>
					<div>
						<label>走访跟踪主要内容：</label>
						<input id="trackingRecordAdd_maincontent" name="maincontent" class="easyui-textbox" />
					</div>
					<div>
						<label>跟踪对象：</label>
						<input id="trackingRecordAdd_who" name="who" class="easyui-textbox" />
					</div>					 
					<div>
					   <label style="float:left; padding-top:9px;">走访记录：</label>
					   <div class="pic-box">
						  <input id=""  class="pic-input" placeholder="点击右侧按钮选取文件" />
						  <input id="add_pic" type="file" name="pic"/>
					   </div>
					</div>
					<div class="btn-link">
					   <a href="#" class="easyui-linkbutton btn-link" style="width:80px;height:30px;" onclick="insertTrackingRecord()">保存</a>
					</div>
				</form>
			</div>
		</div>
		<div id="modifyTrackingRecord" class="easyui-window" title="困难人员跟踪服务记录更新" data-options="collapsible:false,minimizable:false,maximizable:false,resizable:false,closed:true" style="width:460px;height:380px;padding:10px;">
			<div class="pageContent-list">
				<form id="modifyTrackingRecordForm" method="post">
				    <input type="hidden" id="trackingRecordUpdate_id" name="id"/>
					<div>
					    <label>走访时间：</label>
					    <input id="trackingRecordUpdate_interviewdate" name="interviewdate" class="easyui-datebox" data-options="required:true, missingMessage:'走访时间必填'"/>
					</div>
					<div>
						<label>走访主题：</label>
						<input id="trackingRecordUpdate_theme" name="theme" class="easyui-textbox" />
					</div>
					<div>
						<label>走访地点：</label>
						<input id="trackingRecordUpdate_location" name="location" class="easyui-textbox" />
					</div>
					<div>
						<label>人数：</label>
						<input id="trackingRecordUpdate_num" name="num" class="easyui-textbox" />
					</div>
					<div>
					    <label>走访跟踪主要内容：</label>
					    <input id="trackingRecordUpdate_maincontent" name="maincontent" class="easyui-textbox" />
					</div>
					<div>
						<label>跟踪对象：</label>
						<input id="trackingRecordUpdate_who" name="who" class="easyui-textbox" />
					</div>			 
					<div>
						<label style="float:left; padding-top:9px;">走访记录：</label>
						<div class="pic-box">
						   <input id=""  class="pic-input" placeholder="点击右侧按钮选取文件" />
						   <input id="update_pic" type="file" name="pic"/>
						</div>
					</div>
					<div class="btn-link">
					   <a href="#" class="easyui-linkbutton btn-link" style="width:80px;height:30px;" onclick="modifyTrackingRecord()">保存</a>
					</div>
				</form>
			</div>
		</div>
	</div>
</body>
</html>
